package com.kreateinfinity.msdi.model.subject;

/**
 * @author 
 * This is the mapping class for rb_user_registration table
 */

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "subjecttbl")

@javax.persistence.SequenceGenerator(
		name="subject_seq",
		sequenceName="subject_seq",
		allocationSize=1

)

public class Subject implements java.io.Serializable {


	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE ,generator="class_seq")

	@Column(name = "sub_code")	
	private long classId; 

	@Column(name = "subject_name")	
	private String subjectName; 

	@Column(name = "medium")	
	private String medium;
	
	@Column(name = "required")	
	private String required;
	
	@Column(name = "board")	
	private String board;

	/**
	 * @return the classId
	 */
	public long getClassId() {
		return classId;
	}

	/**
	 * @param classId the classId to set
	 */
	public void setClassId(long classId) {
		this.classId = classId;
	}

	/**
	 * @return the subjectName
	 */
	public String getSubjectName() {
		return subjectName;
	}

	/**
	 * @param subjectName the subjectName to set
	 */
	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	/**
	 * @return the medium
	 */
	public String getMedium() {
		return medium;
	}

	/**
	 * @param medium the medium to set
	 */
	public void setMedium(String medium) {
		this.medium = medium;
	}

	/**
	 * @return the required
	 */
	public String getRequired() {
		return required;
	}

	/**
	 * @param required the required to set
	 */
	public void setRequired(String required) {
		this.required = required;
	}

	/**
	 * @return the board
	 */
	public String getBoard() {
		return board;
	}

	/**
	 * @param board the board to set
	 */
	public void setBoard(String board) {
		this.board = board;
	}

	
}
